CTM=TIMERMODE, CIS=CT16Bn_CAP0
Count Control Register (CTCR). The CTCR selects between Timer and Counter mode, and in Counter mode selects the signal and edge(s) for counting.
CTM | Counter/Timer Mode. This field selects which rising PCLK edges can increment Timer’s Prescale Counter (PC), or clear PC and increment Timer Counter (TC). 0 (TIMERMODE): Timer Mode: every rising PCLK edge 1 (RISINGEDGE): Counter Mode: TC is incremented on rising edges on the CAP input selected by bits 3:2. 2 (FALLLINGEDGE): Counter Mode: TC is incremented on falling edges on the CAP input selected by bits 3:2. 3 (RISINGFALLINGEDGE): Counter Mode: TC is incremented on both edges on the CAP input selected by bits 3:2. |
CIS | Count Input Select. In counter mode (when bits 1:0 in this register are not 00), these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected in the CTCR register, bits 2:0 in the Capture Control Register (CCR) must be programmed as 000. 0 (CT16Bn_CAP0): CT16Bn_CAP0 1 (Reserved.): Reserved. |
RESERVED | Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. |